package com.study.talk.module.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.study.talk.module.entity.ApplyJoinGroupRecord;
import com.study.talk.module.entity.GroupInfo;

public interface ApplyJoinGroupRecordService extends IService<ApplyJoinGroupRecord> {

    void addRecord(GroupInfo groupInfo,Integer applyUserId);

    void removeRecord(Integer groupId,Integer userId);

    boolean hasRecord(Integer groupId,Integer userId);

}
